library(plotly)
## Warning: package 'ggplot2' was built under R version 3.4.4
library(ggplot2)
plot_ly(USArrests, x=~Murder, y= ~Assault, type="scatter", size= ~UrbanPop, color= ~Assault)
## Warning: package 'bindrcpp' was built under R version 3.4.4
## Warning: `line.width` does not currently support multiple values.